Calculating Distance From The Root - Intro To Parallel Programming